package com.kuang.demo.vo;

import lombok.Data;

import java.util.List;

/**
 * Created by 郭浩 on 2020/11/3 15:18
 */
@Data
public class QueryKeyWordVO {

    /**
     * total : 1
     * items : [{"id":43,"keyword":"硬件","url":"124","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2020-11-03 14:38:16","updateTime":"2020-11-03 14:58:14","deleted":false}]
     */

    private int total;
    private List<ItemsBean> items;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean {
        /**
         * id : 43
         * keyword : 硬件
         * url : 124
         * isHot : true
         * isDefault : true
         * sortOrder : 100
         * addTime : 2020-11-03 14:38:16
         * updateTime : 2020-11-03 14:58:14
         * deleted : false
         */

        private int id;
        private String keyword;
        private String url;
        private boolean isHot;
        private boolean isDefault;
        private int sortOrder;
        private String addTime;
        private String updateTime;
        private boolean deleted;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getKeyword() {
            return keyword;
        }

        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public boolean isIsHot() {
            return isHot;
        }

        public void setIsHot(boolean isHot) {
            this.isHot = isHot;
        }

        public boolean isIsDefault() {
            return isDefault;
        }

        public void setIsDefault(boolean isDefault) {
            this.isDefault = isDefault;
        }

        public int getSortOrder() {
            return sortOrder;
        }

        public void setSortOrder(int sortOrder) {
            this.sortOrder = sortOrder;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }
    }
}
